using System;
using System.Collections.Generic;
using System.Text;

using MicroFractal.iTunesBrowser.Core.Data.ITunesDB.ItemList;
using System.IO;

namespace MicroFractal.iTunesBrowser.Core.Data.ITunesDB
{
    public class ITunesPlayList : ITunesDataSet
    {

        public ITunesPlayList(MemoryStream data)
            : base(data)
        {
            Header = new Header.DataSetHeader(data);
            ItemList = new PlaylistItemList(Helper.ITunesHelper.GetMemoryStream(data, Header.Length, Header.TotalLength));
        }
    }
}
